import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/layout/Home.vue'
import refresh from '../views/layout/refresh.vue'

Vue.use(Router)

export default new Router({
	routes: [{
			path: '/',
			redirect: '/cms/home'
		},
		{
			path: '/cms/home',
			component: Home,
			children: [{
				path: '/refresh',
				component: refresh,
				name: 'refresh'
			}]
		},
	]
})